<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"
%><%@ taglib prefix="tags" tagdir="/WEB-INF/tags"
%><%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"
%><%@ taglib prefix="security" uri="http://www.springframework.org/security/tags"
%><%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"
%><%@ taglib prefix="spring" uri="http://www.springframework.org/tags"
%><%@ taglib prefix="tags" tagdir="/WEB-INF/tags"
%><%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"
%>
<head>
	<title><fmt:message key="userFaverite" /></title>
</head>
<body>
<c:url var="homeUrl" value="/"/>
<div id="nav-crumbs1" class="crumbs">您的位置：<a href="${homeUrl}">首页</a><span>&gt;</span>
	<a href="${homeUrl}user/index">会员中心</a><span>&gt;</span>
	<a href="${homeUrl}domain/faverite">我的收藏</a>
</div>

<div id="main-content">
	<div class="remide-box" id="J_Remide"></div>

	<div class="bought-list">
		<ul class="tabpanel clearfix">
			<li class="current">
				<a target="_self" hidefocus="true">宝贝收藏</a>
			</li>
			<!--
			<li class="">
				<a target="_self" hidefocus="true" href="http://tradearchive.taobao.com/trade/itemlist/list_bought_items.htm?action=itemlist%2Fquery_action&amp;event_submit_do_query=1&amp;nekot=UvEm4O">三个月前订单</a>
			</li>
			-->
		</ul>

		<table class="bought-table" id="J_BoughtTable">
			<thead>
				<tr class="col-name">
					<th></th>
					<th class="baobei">宝贝信息</th>
					<th class="price">收藏时间</th>
					<th class="amount">价格</th>
					<th class="trade-status">收藏人气</th>
					<th class="remark">操作</th>
				</tr>
				<tr class="sep-row"><td colspan="9"></td></tr>
			</thead>
			
			<tbody class="success-order xcard">
				<c:forEach items="${userFaverites}" var="faverite" varStatus="status">
				<tr class="order-hd">
					<td>&nbsp;</td>
					<td>
						<c:url var="contentUrl" value="/shop/item">
							<c:param name="inode" value="${faverite.contentletInode}" />
						</c:url>
						<div class="g-u thumbnail-private ">
							<a target="_blank" href="${contentUrl}"><img src="http://img07.taobaocdn.com/bao/uploaded/i7/T1xq4JXXpkXXX58hDX_085417.jpg_sum.jpg" class="thumbnail">
							</a>
							<p>
								<span class="J_Private private">
								<c:if test="${faverite.showOnMenu}">
								仅自己可见
								</c:if>
								</span>
							</p>
						</div>					

						<div class="g-u ct-infor">
							<!--宝贝Title START-->
							<p class="title J_Title">
								<a target="_blank" href="${contentUrl}">${faverite.title}</a>
							</p>
							<!--宝贝Title END-->

							<!--评论数显示 START
							<p class="sell-count"><span class="J_SellCount">已售出：<em>8884</em>件</span><span class="comment J_CommentCount">（已有<em>2040</em>人评论）</span></p>
							-->
							<!--评论数显示 END-->
							<!--自定义标签 START-->
							<p class="J_FavItemTag grid">
							</p>
							<!--自定义标签 END-->
						</div>						

					</td>
					<td><span class="deal-time">${faverite.modDate}</span></td>
					<td><span class="order-num">${faverite.listPrice}</span></td>
					<td><span class="order-num">100</span></td>
					<td>
						<span>
							<c:url var="showUrl" value="/domain/faverite/confirmDelete">
								<c:param name="userFaverite.inode" value="${faverite.inode}" />
							</c:url>
							<a href="${showUrl}" class="detail-link">删除</a>
						</span>					
					
					</td>
				</tr>
				</c:forEach>
			</tbody>
			<tfoot>
			<tr class="sep-row"><td colspan="6"></td></tr>
			<tr class="toolbar skin-gray">
				<td colspan="3"></td>
				<td class="page-nav-cell" colspan="3">
					<ul class="page-nav">
						<li class="prev-page"></li>
						<li class="curr-page"><a class="selected" href="http://trade.taobao.com/trade/itemlist/listBoughtItems.htm?action=itemlist/QueryAction&amp;event_submit_do_query=1&amp;pageNum=1">1</a>
						</li>
						<!--
						<li>
							&nbsp;&nbsp;到第<input type="text" id="J_PageNum" maxlengh="4" size="2" name="pageNum">页&nbsp;
							<input type="button" id="J_JumpTo" data-url="http://trade.taobao.com/trade/itemlist/listBoughtItems.htm?action=itemlist/QueryAction&amp;event_submit_do_query=1" value="确定">
						</li>
						-->
					</ul>
				</td>      
			</tr>
			</tfoot> 
		</table>
		<!--
		<div class="last-tips">呃，最后一页了，还没找到我要的订单，去
			<a href="http://tradearchive.taobao.com/trade/itemlist/list_bought_items.htm?action=itemlist%2Fquery_action&amp;event_submit_do_query=1&amp;nekot=UvEm4O" hidefocus="true">三个月前订单</a>继续查找。
		</div>
		-->
	</div>

</div>
</body>